<template>
  <a-pagination
     @change="onChange"
    style="margin-top:20px;"
    size="small"
    :total="total"
    :show-total="total => `共${total}条 `"
  />
</template>
<script>
export default {
  props: ['total'],
  method: {
    onChange (page, pageSize) {
      console.log(page)
      console.log(pageSize)
    }
  }
}
</script>
